object FrmCadOperadores: TFrmCadOperadores
  Left = 313
  Top = 165
  BorderStyle = bsDialog
  Caption = 'Cadastro de Operadores'
  ClientHeight = 396
  ClientWidth = 473
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  Position = poMainFormCenter
  OnClose = FormClose
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object Label1: TLabel
    Left = 8
    Top = 8
    Width = 40
    Height = 13
    Caption = 'Codigo'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object Label2: TLabel
    Left = 112
    Top = 8
    Width = 33
    Height = 13
    Caption = 'Nome'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object Label3: TLabel
    Left = 158
    Top = 47
    Width = 37
    Height = 13
    Caption = 'Senha'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object Label4: TLabel
    Left = 8
    Top = 47
    Width = 43
    Height = 13
    Caption = 'Fun'#231#227'o'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object Label5: TLabel
    Left = 9
    Top = 89
    Width = 36
    Height = 13
    Caption = 'Incluir'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object Label6: TLabel
    Left = 85
    Top = 89
    Width = 39
    Height = 13
    Caption = 'Excluir'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object Label7: TLabel
    Left = 161
    Top = 89
    Width = 38
    Height = 13
    Caption = 'Alterar'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object Label8: TLabel
    Left = 238
    Top = 89
    Width = 39
    Height = 13
    Caption = 'Gravar'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object Label9: TLabel
    Left = 310
    Top = 89
    Width = 51
    Height = 13
    Caption = 'Cancelar'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object DBNavigator1: TDBNavigator
    Left = 8
    Top = 102
    Width = 380
    Height = 29
    DataSource = DS_Funcionarios
    VisibleButtons = [nbInsert, nbDelete, nbEdit, nbPost, nbCancel]
    TabOrder = 5
    BeforeAction = DBNavigator1BeforeAction
  end
  object DBGrid1: TDBGrid
    Left = 8
    Top = 144
    Width = 457
    Height = 209
    DataSource = DS_Funcionarios
    Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
    TabOrder = 0
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
    Columns = <
      item
        Expanded = False
        FieldName = 'CODFUNCIONARIO'
        Title.Caption = 'C'#243'digo'
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'NOME'
        Title.Caption = 'Nome'
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'CODFUNCAO'
        Title.Caption = 'Fun'#231#227'o'
        Visible = True
      end>
  end
  object BitBtn1: TBitBtn
    Left = 157
    Top = 359
    Width = 158
    Height = 33
    Caption = '&Sair'
    TabOrder = 6
    Kind = bkOK
  end
  object DBEdit1: TDBEdit
    Left = 8
    Top = 21
    Width = 97
    Height = 21
    DataField = 'CODFUNCIONARIO'
    DataSource = DS_Funcionarios
    TabOrder = 1
  end
  object DBEdit2: TDBEdit
    Left = 112
    Top = 21
    Width = 351
    Height = 21
    DataField = 'NOME'
    DataSource = DS_Funcionarios
    TabOrder = 2
  end
  object DBLookupComboBox1: TDBLookupComboBox
    Left = 8
    Top = 61
    Width = 145
    Height = 21
    DataField = 'CODFUNCAO'
    DataSource = DS_Funcionarios
    KeyField = 'CODFUNCAO'
    ListField = 'DESCRICAO'
    ListSource = Ds_Funcao
    TabOrder = 3
  end
  object DBEdit3: TDBEdit
    Left = 160
    Top = 61
    Width = 43
    Height = 21
    DataField = 'SENHA'
    DataSource = DS_Funcionarios
    PasswordChar = '*'
    TabOrder = 4
  end
  object DS_Funcionarios: TDataSource
    AutoEdit = False
    DataSet = SQLC_Funcionarios
    Left = 280
    Top = 280
  end
  object Ds_Funcao: TDataSource
    AutoEdit = False
    DataSet = Sqlc_Funcao
    Left = 64
    Top = 216
  end
  object SQLC_Funcionarios: TSQLClientDataSet
    CommandText = 'FUNCIONARIOS'
    Aggregates = <>
    IndexFieldNames = 'NOME'
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <>
    AfterEdit = SQLC_FuncionariosAfterEdit
    AfterPost = SQLC_FuncionariosAfterPost
    AfterDelete = SQLC_FuncionariosAfterDelete
    CommandType = ctTable
    DBConnection = DMCaixas.ConnectionCaixas
    Left = 307
    Top = 280
    object SQLC_FuncionariosCODFUNCIONARIO: TStringField
      FieldName = 'CODFUNCIONARIO'
      Required = True
      FixedChar = True
      Size = 11
    end
    object SQLC_FuncionariosNOME: TStringField
      FieldName = 'NOME'
      Required = True
      Size = 50
    end
    object SQLC_FuncionariosCODFUNCAO: TStringField
      FieldName = 'CODFUNCAO'
      Required = True
      FixedChar = True
      Size = 3
    end
    object SQLC_FuncionariosCODLOTACAO: TStringField
      FieldName = 'CODLOTACAO'
      Required = True
      FixedChar = True
      Size = 3
    end
    object SQLC_FuncionariosSenha: TStringField
      FieldKind = fkInternalCalc
      FieldName = 'Senha'
      Size = 6
    end
  end
  object Sqlc_Funcao: TSQLClientDataSet
    CommandText = 'FUNCAO'
    Aggregates = <>
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <>
    CommandType = ctTable
    DBConnection = DMCaixas.ConnectionCaixas
    Left = 96
    Top = 217
    object Sqlc_FuncaoCODFUNCAO: TStringField
      FieldName = 'CODFUNCAO'
      Required = True
      FixedChar = True
      Size = 3
    end
    object Sqlc_FuncaoDESCRICAO: TStringField
      FieldName = 'DESCRICAO'
      Required = True
      Size = 35
    end
  end
  object SQLC_Senha: TSQLClientDataSet
    CommandText = 
      'select CODFUNCIONARIO, SENHA '#13#10'from SENHA '#13#10'where CODFUNCIONARIO' +
      ' = :pcod;'
    Aggregates = <>
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <
      item
        DataType = ftString
        Name = 'pcod'
        ParamType = ptInput
      end>
    DBConnection = DMCaixas.ConnectionCaixas
    Left = 347
    Top = 280
    object SQLC_SenhaCODFUNCIONARIO: TStringField
      FieldName = 'CODFUNCIONARIO'
      Required = True
      FixedChar = True
      Size = 11
    end
    object SQLC_SenhaSENHA: TFMTBCDField
      FieldName = 'SENHA'
      Required = True
      Precision = 15
      Size = 0
    end
  end
end
